﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Newtonsoft.Json;

namespace SPM.Controllers
{
    public class UserController : Controller
    {
        //
        // GET: /User/
           
        [HttpGet]
        public ActionResult List(int id)
        {
            return View("Userlist");
        }

        public ActionResult Add()
        {
            return View("Userlist");
        }

        public ActionResult Delete()
        {
            ContentResult cr = new ContentResult();
            cr.ContentEncoding = System.Text.Encoding.UTF8; 
            cr.ContentType = "application/json; charset=utf-8";
            cr.Content = JsonConvert.SerializeObject("");
            return cr;
        }

        public ActionResult Modify()
        {
            return View("Userlist");
        }

    }
}
